package com.example.wzh.robotsdemo.controlbean;

/**
 * Created by WZH on 2017/9/7.
 */

public class SaftyBean {

    /**
     * "attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
     */
    private int event_safety_control;


    public SaftyBean(int event_safety_control) {
        this.event_safety_control = event_safety_control;
    }

    @Override
    public String toString() {

        //attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
        return "{\"attrs\":{" +
                "\"event_safety_control\":" + event_safety_control  +
                "}}";
    }
}
